# -*- coding: utf-8 -*-
"""
样式化组件层 - 兼容性导入文件
从拆分后的组件模块中导入所有组件，保持向后兼容性
"""

# 从新的组件结构导入所有组件
from .components import (
    # 基础组件
    TgLabel, TgButton, TgOutlineButton, TgTextEdit, TgLineEdit, TgComboBox, TgCheckBox,
    TgBaseWidget, TgBaseComponent, TgComponentMixin, TgBaseContainer, TgBaseComposite,
    
    # 容器组件
    TgGroupBox, TgFrame, TgTabWidget, TgScrollArea, TgLayout,
    
    # 布局组件
    TgHBoxLayout, TgGridLayout, TgSplitterLayout,
    
    # 复合组件
    TgCard, TgButtonGroup, TgFormRow, TgToolBar,
    
    # 应用组件
    TgMainWindow, TgContentArea, TgMenuArea,
    
)

# 导出所有组件，保持向后兼容性
__all__ = [
    # 新的TG组件
    'TgLabel', 'TgButton', 'TgOutlineButton', 'TgTextEdit', 'TgLineEdit', 'TgComboBox', 'TgCheckBox',
    'TgBaseWidget', 'TgBaseComponent', 'TgComponentMixin', 'TgLayoutMixin', 'TgBaseContainer', 'TgBaseComposite',
    'TgGroupBox', 'TgFrame', 'TgTabWidget', 'TgScrollArea', 'TgLayout',
    'TgHBoxLayout', 'TgGridLayout', 'TgSplitterLayout',
    'TgCard', 'TgButtonGroup', 'TgFormRow', 'TgToolBar',
    'TgMainWindow', 'TgContentArea', 'TgMenuArea',
    
] 